<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>表格样式</title>
	<style type="text/css">
		.goods_list{
			width: 600px;
			height: 200px;
			border: 1px solid #333;
			border-collapse: collapse; /*使表格变成一条线*/
			font-family: 'Microsoft Yahei';
		}

		.goods_list th,.goods_list td{
			 border: 1px solid #333;
			 text-align: center;
		}

		.goods_list th{
			background-color: #3366cc;
			color: #ffffff;
		}
	</style>
</head>
<body>
	<table class="goods_list">
		<tr>
			<th>序号</th>
			<th>名称</th>
			<th>数量</th>
			<th>价格</th>
			<th>备注</th>
		</tr>
		<tr>
			<td>1</td>
			<td>苹果</td>
			<td>1000</td>
			<td>$1.5</td>
			<td>销售中</td>
		</tr>
		<tr>
			<td>1</td>
			<td>苹果</td>
			<td>1000</td>
			<td>$1.5</td>
			<td>销售中</td>
		</tr>
		<tr>
			<td>1</td>
			<td>苹果</td>
			<td>1000</td>
			<td>$1.5</td>
			<td>销售中</td>
		</tr>
	</table>
</body>
</html>